<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<script type="text/javascript" src="${ctx}/js/system/consoleuser/add.js"></script>
<div class="hk_business hk_b_add">
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/consoleuser/addEntity.shtml">
		<section class="panel panel-default">
			<div class="panel-body">
			<input type="hidden" name="token" value="${token}"/>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">帐号： </label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							placeholder="请输入帐号" name="consoleuserFormMap.accountName"
							id="accountName">
					</div>
				</div>

				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">密码： </label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							placeholder="请输入密码" name="consoleuserFormMap.password"
							id="password" value="123456789" readonly="readonly">
					</div>
				</div>


				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">角色： </label>
					<div class="col-sm-9">
						<select class="form-control checkacc" placeholder="请选择角色"
							name="consoleuserFormMap.role_id" id="role_id">
							<c:forEach items="${rolelist}" var="map" varStatus="stat">
								<option value="${map.id}">${map.type}</option>
							</c:forEach>
						</select>
					</div>
				</div>
				
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">部门： </label>
					<div class="col-sm-9">
						<select class="form-control checkacc" placeholder="请选择部门"
							name="consoleuserFormMap.department_id" id="department_id">
							<c:forEach items="${departmentlist}" var="map" varStatus="stat">
								<option value="${map.id}">${map.department}</option>
							</c:forEach>
						</select>
					</div>
				</div>

				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">电话： </label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							placeholder="请输入电话" name="consoleuserFormMap.cellphone"
							id="cellphone">
					</div>
				</div>

				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">地址： </label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							placeholder="请输入地址" name="consoleuserFormMap.address"
							id="address">
					</div>
				</div>

				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">邮箱： </label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							placeholder="请输入邮箱" name="consoleuserFormMap.email"
							id="email">
					</div>
				</div>
				
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">备注： </label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							placeholder="请输入备注" name="consoleuserFormMap.remark"
							id="remark">
					</div>
				</div>

				<footer class="panel-footer text-right bg-light lter">
					<button type="submit" class="btn btn-success btn-s-xs" >提交</button>
				</footer>
		</section>
	</form>
</div>

